<template>
  <div class="main">

    <ul class="ul_info">
      <li><label>姓名</label><span>{{data.aac003}}</span></li>
      <li><label>社会保障卡号</label><span>{{data.akc020}}</span></li>
      <li><label>定点医疗机构名称</label><span>{{data.akb020Name}}</span></li>
      <li><label>住院（门诊）流水号</label><span>{{data.akc190}}</span></li>
      <li><label>处方日期</label><span>{{data.akc221}}</span></li>
      <li><label>项目类别</label><span>{{data.aka125Name|valueempty}}</span></li>
      <li><label>收费类别</label><span>{{data.aka063Name|valueempty}}</span></li>
      <li><label>报销类别</label><span>{{data.aka065Name|valueempty}}</span></li>
    </ul>

    <div class="am-whitespace ws15px"></div>
    <ul class="ul_info">
      <li><label>收费项目名称</label><span>{{data.akc223|valueempty}}</span></li>
      <li><label>单价（元）</label><span>{{data.akc225|valueempty}}</span></li>
      <li><label>数量</label><span>{{data.akc226|valueempty}}</span></li>
      <li><label>金额（元）</label><span>{{data.akc227|valueempty}}</span></li>
      <li><label>自理金额（元）</label><span>{{data.akc228|valueempty}}</span></li>
      <li><label>自费金额（元）</label><span>{{data.akc253|valueempty}}</span></li>
      <li><label>自付比例</label><span>{{data.aka069|valueempty}}</span></li>
    </ul>
  </div>
</template>

<script>
  export default {
    data () {
      return {
        data: {},
      }
    },
    created () {
        let item=this.$route.query.item;
        if(item){
            this.data=JSON.parse(item);
        }
    },
    methods: {
    }
  }

</script>

<style lang="less" scoped>
  .user_info {
    overflow: hidden;
    width: 90%;
    margin: 10px auto 0;
    background: url("../../assets/images/social/bg-card.png") no-repeat;
    background-size: 100% 100%;
    .loss {
      overflow: hidden;
      width: 90%;
      margin: 10px auto 0;
      background: url("../../assets/images/social/bg_card_loss.png") no-repeat;
      background-size: 100% 100%;
    }

    div {
      float: left;
    }

    .user_pic {
      height: 48px;
      width: 48px;
      border-radius: 50%;
      overflow: hidden;
      margin-left: 22px;
      margin-top: 62px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .user_msg {
      font-size: 12px;
      width: 75%;
      padding-bottom: 28px;
      ul {
        margin-top: 18px;
        color: #FFF;
        margin-left: 6%;
      }
      li:first-child {
        font-size: 15px;
        line-height: 36px;
        color: #F8E71C;
      }
      li:not(:first-child) {
        color: #ffffff;
      }
      li.font-s {
        font-size: 12px;
      }
    }
  }

  li {
    list-style: none;
    text-align: left;
    line-height: 23px;
    font-size: 13px;
  }
.tip{
  margin-left: 4%;
  line-height: 0.45rem;
}
  .ul_info {
    background: #ffffff;
    li {
      padding: 0.12rem 4% 0.12rem 0;
      margin-left:4%;
      border-bottom: 1px solid #DFDFDF;
      overflow: hidden;
    }
    li:last-child {
      border-bottom: none;
    }

    label {
      display: inline-block;
    }

    span {
      color: #888888;
      float: right;
      max-width: 70%;
    }

    input {
      height: 30px;
      border: none;
      outline: none;
    }
  }

  .bottom {
    margin-bottom: 70px;
  }

  .btn_sure {
    width: 90%;
    height: 50px;
    background: #3399FF;
    border-radius: 4px;
    border: none;
    font-size: 18px;
    color: #FFFFFF;
    margin: 30px 0 20px;
    -webkit-appearance: none;
    outline: none;
  }

  .btn_save {
    width: 100%;
    height: 50px;
    background: #3399FF;
    border: none;
    font-size: 18px;
    color: #FFFFFF;
    margin-top: 40px;
    -webkit-appearance: none;
    outline: none;
    position: fixed;
    left: 0;
    bottom: 0;
  }

</style>
